home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / gd25s.zip / NEWS < prev    next >
Text File  |  1993-10-08  |  4KB  |  110 lines

  1. User-visible changes in version 2.5:
  2.  
  3. * New cmp option: -v --version
  4.  
  5.  
  6. User-visible changes in version 2.4:
  7.  
  8. * New cmp option: --ignore-initial=BYTES
  9. * New diff3 option: -T --initial-tab
  10. * New diff option: --line-format=FORMAT
  11. * New diff group format specifications:
  12.   <PRINTF_SPEC>[eflmnEFLMN]
  13.       A printf spec followed by one of the following letters
  14.       causes the integer corresponding to that letter to be
  15.       printed according to the printf specification.
  16.       E.g. `%5df' prints the number of the first line in the
  17.       group in the old file using the "%5d" format.
  18.     e: line number just before the group in old file; equals f - 1
  19.     f: first line number in group in the old file
  20.     l: last line number in group in the old file
  21.     m: line number just after the group in old file; equals l + 1
  22.     n: number of lines in group in the old file; equals l - f + 1
  23.     E, F, L, M, N: likewise, for lines in the new file
  24.   %(A=B?T:E)
  25.       If A equals B then T else E.  A and B are each either a decimal
  26.       constant or a single letter interpreted as above.  T and E are
  27.       arbitrary format strings.  This format spec is equivalent to T if
  28.       A's value equals B's; otherwise it is equivalent to E.  For
  29.       example, `%(N=0?no:%dN) line%(N=1?:s)' is equivalent to `no lines'
  30.       if N (the number of lines in the group in the the new file) is 0,
  31.       to `1 line' if N is 1, and to `%dN lines' otherwise.
  32.   %c'C'
  33.       where C is a single character, stands for the character C.  C may not
  34.       be a backslash or an apostrophe.  E.g. %c':' stands for a colon.
  35.   %c'\O'
  36.       where O is a string of 1, 2, or 3 octal digits, stands for the
  37.       character with octal code O.  E.g. %c'\0' stands for a null character.
  38. * New diff line format specifications:
  39.   <PRINTF_SPEC>n
  40.       The line number, printed with <PRINTF_SPEC>.
  41.       E.g. `%5dn' prints the line number with a "%5d" format.
  42.   %c'C'
  43.   %c'\O'
  44.       The character C, or with octal code O, as above.
  45. * Supported <PRINTF_SPEC>s have the same meaning as with printf, but must
  46.   match the extended regular expression %-*[0-9]*(\.[0-9]*)?[doxX].
  47. * The format spec %0 introduced in version 2.1 has been removed, since it
  48.   is incompatible with printf specs like %02d.  To represent a null char,
  49.   use %c'\0' instead.
  50. * cmp and diff now conform to Posix.2 (ISO/IEC 9945-2:1993)
  51.   if the underlying system conforms to Posix:
  52.   - Some messages' wordings are changed in minor ways.
  53.   - ``White space'' is now whatever C's `isspace' says it is.
  54.   - When comparing directories, if `diff' finds a file that is not a regular
  55.     file or a directory, it reports the file's type instead of diffing it.
  56.     (As usual, it follows symbolic links first.)
  57.   - When signaled, sdiff exits with the signal's status, not with status 2.
  58. * Now portable to hosts where int, long, pointer, etc. are not all the same
  59.   size.
  60. * `cmp - -' now works like `diff - -'.
  61.  
  62.  
  63. User-visible changes in version 2.3:
  64.  
  65. * New diff option: --horizon-lines=lines
  66.  
  67.  
  68. User-visible changes in version 2.1:
  69.  
  70. * New diff options:
  71.   --{old,new,unchanged}-line-format='format'
  72.   --{old,new,unchanged,changed}-group-format='format'
  73.   -U
  74. * New diff3 option:
  75.   -A --show-all
  76. * diff3 -m now defaults to -A, not -E.
  77. * diff3 now takes up to three -L or --label options, not just two.
  78.   If just two options are given, they refer to the first two input files,
  79.   not the first and third input files.
  80. * sdiff and diff -y handle incomplete lines.
  81.  
  82.  
  83. User-visible changes in version 2.0:
  84.  
  85. * Add sdiff and cmp programs.
  86. * Add Texinfo documentation.
  87. * Add configure script.
  88. * Improve diff performance.
  89. * New diff options:
  90. -x --exclude
  91. -X --exclude-from
  92. -P --unidirectional-new-file
  93. -W --width
  94. -y --side-by-side
  95. --left-column
  96. --sdiff-merge-assist
  97. --suppress-common-lines
  98. * diff options renamed:
  99. --label renamed from --file-label
  100. --forward-ed renamed from --reversed-ed
  101. --paginate renamed from --print
  102. --entire-new-file renamed from --entire-new-files
  103. --new-file renamed from --new-files
  104. --all-text removed
  105. * New diff3 options:
  106. -v --version
  107. * Add long-named equivalents for other diff3 options.
  108. * diff options -F (--show-function-line) and -I (--ignore-matching-lines)
  109.   can now be given more than once.
  110.